package com.own.component.sms.core.property;

import com.own.component.sms.core.em.SmsSendMethodEnum;
import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * TokenProperties
 *
 * @author chenxueli
 * @date 2022-06-15 03:14:15
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = SmsProperties.PREFIX)
@SuppressWarnings("all")
public class SmsProperties {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "sms";

    /**
     * 默认的发送方式
     */
    private SmsSendMethodEnum defaultMethod;

}
